package com.qmx.qmxapp.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @author chengxiangtong
 * @date 2018/11/26
 * version : 1.0
 * class describe：会议列表
 */
public class MeetingListModel implements Serializable {


    private List<Wait> wait;
    private List<End> end;

    public List<Wait> getWait() {
        return wait;
    }

    public void setWait(List<Wait> wait) {
        this.wait = wait;
    }

    public List<End> getEnd() {
        return end;
    }

    public void setEnd(List<End> end) {
        this.end = end;
    }

    public static class Wait {
        /**
         * time : 2018-11-29 星期四
         * data : [{"id":12,"room_id":900000002,"title":"ceshi001的云","detail":"","uids":["10002","10001","10002"],"main_id":0,"notice":"0","type":"meeting","address":"","auto_record":"0","auto_publish":"0","watch_count":0,"starttime":1543456682,"endtime":1543458482,"configs":{"auto_call":"1","auto_video":0,"auto_mute":"0","join_pwd":1,"say_pwd":1,"session":3,"main":{"id":0,"is_device":0},"mute":0},"status":"0","create_time":"2018-11-29 17:15:05","admin":{"id":10002,"name":"ceshi001","avatar":"http://api.smartqmx.com/uploads/20181129/74b8c8c847c3db3e0781b4891ea9ea40.jpg"},"names":["郑超","ceshi001"]}]
         */

        private String time;
        private List<Data> data;

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public List<Data> getData() {
            return data;
        }

        public void setData(List<Data> data) {
            this.data = data;
        }

        public static class Data {
            /**
             * id : 12
             * room_id : 900000002
             * title : ceshi001的云
             * detail :
             * uids : ["10002","10001","10002"]
             * main_id : 0
             * notice : 0
             * type : meeting
             * address :
             * auto_record : 0
             * auto_publish : 0
             * watch_count : 0
             * starttime : 1543456682
             * endtime : 1543458482
             * configs : {"auto_call":"1","auto_video":0,"auto_mute":"0","join_pwd":1,"say_pwd":1,"session":3,"main":{"id":0,"is_device":0},"mute":0}
             * status : 0
             * create_time : 2018-11-29 17:15:05
             * admin : {"id":10002,"name":"ceshi001","avatar":"http://api.smartqmx.com/uploads/20181129/74b8c8c847c3db3e0781b4891ea9ea40.jpg"}
             * names : ["郑超","ceshi001"]
             */

            private int id;
            private int room_id;
            private String title;
            private String detail;
            private int main_id;
            private String notice;
            private String type;
            private String address;
            private String auto_record;
            private String auto_publish;
            private int watch_count;
            private long starttime;
            private long endtime;
            private Configs configs;
            private String status;
            private String create_time;
            private Admin admin;
            private List<String> uids;
            private List<String> names;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getRoom_id() {
                return room_id;
            }

            public void setRoom_id(int room_id) {
                this.room_id = room_id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getDetail() {
                return detail;
            }

            public void setDetail(String detail) {
                this.detail = detail;
            }

            public int getMain_id() {
                return main_id;
            }

            public void setMain_id(int main_id) {
                this.main_id = main_id;
            }

            public String getNotice() {
                return notice;
            }

            public void setNotice(String notice) {
                this.notice = notice;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getAuto_record() {
                return auto_record;
            }

            public void setAuto_record(String auto_record) {
                this.auto_record = auto_record;
            }

            public String getAuto_publish() {
                return auto_publish;
            }

            public void setAuto_publish(String auto_publish) {
                this.auto_publish = auto_publish;
            }

            public int getWatch_count() {
                return watch_count;
            }

            public void setWatch_count(int watch_count) {
                this.watch_count = watch_count;
            }

            public long getStarttime() {
                return starttime;
            }

            public void setStarttime(int starttime) {
                this.starttime = starttime;
            }

            public long getEndtime() {
                return endtime;
            }

            public void setEndtime(int endtime) {
                this.endtime = endtime;
            }

            public Configs getConfigs() {
                return configs;
            }

            public void setConfigs(Configs configs) {
                this.configs = configs;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public Admin getAdmin() {
                return admin;
            }

            public void setAdmin(Admin admin) {
                this.admin = admin;
            }

            public List<String> getUids() {
                return uids;
            }

            public void setUids(List<String> uids) {
                this.uids = uids;
            }

            public List<String> getNames() {
                return names;
            }

            public void setNames(List<String> names) {
                this.names = names;
            }

            public static class Configs {
                /**
                 * auto_call : 1
                 * auto_video : 0
                 * auto_mute : 0
                 * join_pwd : 1
                 * say_pwd : 1
                 * session : 3
                 * main : {"id":0,"is_device":0}
                 * mute : 0
                 */

                private String auto_call;
                private int auto_video;
                private String auto_mute;
                private int join_pwd;
                private int say_pwd;
                private int session;
                private Main main;
                private int mute;

                public String getAuto_call() {
                    return auto_call;
                }

                public void setAuto_call(String auto_call) {
                    this.auto_call = auto_call;
                }

                public int getAuto_video() {
                    return auto_video;
                }

                public void setAuto_video(int auto_video) {
                    this.auto_video = auto_video;
                }

                public String getAuto_mute() {
                    return auto_mute;
                }

                public void setAuto_mute(String auto_mute) {
                    this.auto_mute = auto_mute;
                }

                public int getJoin_pwd() {
                    return join_pwd;
                }

                public void setJoin_pwd(int join_pwd) {
                    this.join_pwd = join_pwd;
                }

                public int getSay_pwd() {
                    return say_pwd;
                }

                public void setSay_pwd(int say_pwd) {
                    this.say_pwd = say_pwd;
                }

                public int getSession() {
                    return session;
                }

                public void setSession(int session) {
                    this.session = session;
                }

                public Main getMain() {
                    return main;
                }

                public void setMain(Main main) {
                    this.main = main;
                }

                public int getMute() {
                    return mute;
                }

                public void setMute(int mute) {
                    this.mute = mute;
                }

                public static class Main {
                    /**
                     * id : 0
                     * is_device : 0
                     */

                    private int id;
                    private int is_device;

                    public int getId() {
                        return id;
                    }

                    public void setId(int id) {
                        this.id = id;
                    }

                    public int getIs_device() {
                        return is_device;
                    }

                    public void setIs_device(int is_device) {
                        this.is_device = is_device;
                    }
                }
            }

            public static class Admin {
                /**
                 * id : 10002
                 * name : ceshi001
                 * avatar : http://api.smartqmx.com/uploads/20181129/74b8c8c847c3db3e0781b4891ea9ea40.jpg
                 */

                private int id;
                private String name;
                private String avatar;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getAvatar() {
                    return avatar;
                }

                public void setAvatar(String avatar) {
                    this.avatar = avatar;
                }
            }
        }
    }

    public static class End {
        /**
         * time : 2018-11-29 星期四
         * data : [{"id":15,"room_id":900000001,"title":"郑超的云会议室","detail":"","uids":["10001","10002"],"main_id":0,"notice":"0","type":"meeting","address":"","auto_record":"1","auto_publish":"0","watch_count":0,"starttime":1543459966,"endtime":1543461766,"configs":{"auto_call":"1","auto_video":0,"auto_mute":"0","join_pwd":0,"say_pwd":1,"session":3,"main":{"id":0,"is_device":0},"mute":0},"status":"2","create_time":"2018-11-29 17:15:05","admin":{"id":10001,"name":"郑超","avatar":"http://api.smartqmx.com/uploads/20181128/f7c33dcf64e33aeb07ccbefa49c8d706.jpg"},"names":["郑超","ceshi001"]}]
         */

        private String time;
        private List<DataX> data;

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public List<DataX> getData() {
            return data;
        }

        public void setData(List<DataX> data) {
            this.data = data;
        }

        public static class DataX {
            /**
             * id : 15
             * room_id : 900000001
             * title : 郑超的云会议室
             * detail :
             * uids : ["10001","10002"]
             * main_id : 0
             * notice : 0
             * type : meeting
             * address :
             * auto_record : 1
             * auto_publish : 0
             * watch_count : 0
             * starttime : 1543459966
             * endtime : 1543461766
             * configs : {"auto_call":"1","auto_video":0,"auto_mute":"0","join_pwd":0,"say_pwd":1,"session":3,"main":{"id":0,"is_device":0},"mute":0}
             * status : 2
             * create_time : 2018-11-29 17:15:05
             * admin : {"id":10001,"name":"郑超","avatar":"http://api.smartqmx.com/uploads/20181128/f7c33dcf64e33aeb07ccbefa49c8d706.jpg"}
             * names : ["郑超","ceshi001"]
             */

            private int id;
            private int room_id;
            private String title;
            private String detail;
            private int main_id;
            private String notice;
            private String type;
            private String address;
            private String auto_record;
            private String auto_publish;
            private int watch_count;
            private long starttime;
            private long endtime;
            private ConfigsX configs;
            private String status;
            private String create_time;
            private AdminX admin;
            private List<String> uids;
            private List<String> names;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getRoom_id() {
                return room_id;
            }

            public void setRoom_id(int room_id) {
                this.room_id = room_id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getDetail() {
                return detail;
            }

            public void setDetail(String detail) {
                this.detail = detail;
            }

            public int getMain_id() {
                return main_id;
            }

            public void setMain_id(int main_id) {
                this.main_id = main_id;
            }

            public String getNotice() {
                return notice;
            }

            public void setNotice(String notice) {
                this.notice = notice;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getAuto_record() {
                return auto_record;
            }

            public void setAuto_record(String auto_record) {
                this.auto_record = auto_record;
            }

            public String getAuto_publish() {
                return auto_publish;
            }

            public void setAuto_publish(String auto_publish) {
                this.auto_publish = auto_publish;
            }

            public int getWatch_count() {
                return watch_count;
            }

            public void setWatch_count(int watch_count) {
                this.watch_count = watch_count;
            }

            public long getStarttime() {
                return starttime;
            }

            public void setStarttime(int starttime) {
                this.starttime = starttime;
            }

            public long getEndtime() {
                return endtime;
            }

            public void setEndtime(int endtime) {
                this.endtime = endtime;
            }

            public ConfigsX getConfigs() {
                return configs;
            }

            public void setConfigs(ConfigsX configs) {
                this.configs = configs;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public AdminX getAdmin() {
                return admin;
            }

            public void setAdmin(AdminX admin) {
                this.admin = admin;
            }

            public List<String> getUids() {
                return uids;
            }

            public void setUids(List<String> uids) {
                this.uids = uids;
            }

            public List<String> getNames() {
                return names;
            }

            public void setNames(List<String> names) {
                this.names = names;
            }

            public static class ConfigsX {
                /**
                 * auto_call : 1
                 * auto_video : 0
                 * auto_mute : 0
                 * join_pwd : 0
                 * say_pwd : 1
                 * session : 3
                 * main : {"id":0,"is_device":0}
                 * mute : 0
                 */

                private String auto_call;
                private int auto_video;
                private String auto_mute;
                private int join_pwd;
                private int say_pwd;
                private int session;
                private MainX main;
                private int mute;

                public String getAuto_call() {
                    return auto_call;
                }

                public void setAuto_call(String auto_call) {
                    this.auto_call = auto_call;
                }

                public int getAuto_video() {
                    return auto_video;
                }

                public void setAuto_video(int auto_video) {
                    this.auto_video = auto_video;
                }

                public String getAuto_mute() {
                    return auto_mute;
                }

                public void setAuto_mute(String auto_mute) {
                    this.auto_mute = auto_mute;
                }

                public int getJoin_pwd() {
                    return join_pwd;
                }

                public void setJoin_pwd(int join_pwd) {
                    this.join_pwd = join_pwd;
                }

                public int getSay_pwd() {
                    return say_pwd;
                }

                public void setSay_pwd(int say_pwd) {
                    this.say_pwd = say_pwd;
                }

                public int getSession() {
                    return session;
                }

                public void setSession(int session) {
                    this.session = session;
                }

                public MainX getMain() {
                    return main;
                }

                public void setMain(MainX main) {
                    this.main = main;
                }

                public int getMute() {
                    return mute;
                }

                public void setMute(int mute) {
                    this.mute = mute;
                }

                public static class MainX {
                    /**
                     * id : 0
                     * is_device : 0
                     */

                    private int id;
                    private int is_device;

                    public int getId() {
                        return id;
                    }

                    public void setId(int id) {
                        this.id = id;
                    }

                    public int getIs_device() {
                        return is_device;
                    }

                    public void setIs_device(int is_device) {
                        this.is_device = is_device;
                    }
                }
            }

            public static class AdminX {
                /**
                 * id : 10001
                 * name : 郑超
                 * avatar : http://api.smartqmx.com/uploads/20181128/f7c33dcf64e33aeb07ccbefa49c8d706.jpg
                 */

                private int id;
                private String name;
                private String avatar;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getAvatar() {
                    return avatar;
                }

                public void setAvatar(String avatar) {
                    this.avatar = avatar;
                }
            }
        }
    }
}
